<template>
  <div style="width: 100%;height: 98%;border-width: 0px;background-color: #FFF; padding: 10px;">
    <iframe :id="params.reportUrl" :src="params.reportUrl" style="width: 100%;height: 98%;border-width: 0px;"></iframe>
  </div>
</template>

<script>
  export default {
    name: "resourcesDatail",
    components: {
    },
    data() {
      return {}
    },
    created: function() {

    },
    mounted: function() {
      var downFrame = document.getElementById(this.params.reportUrl);
      var that = this
      downFrame.onload=function(e){
        that.$forceUpdate()
      };
    },
    methods: {
    },
    props: {
      params: {}
    },
  }
</script>

<style>
</style>
